<template>
    <div class="wang_editor">
        <div id="wang_editor">

        </div>
    </div>
</template>

<script>
let wang = require('wangeditor')
export default {
    name: 'wangEditor',
    data: () => ({
    }),
    mounted () {
        console.log(wang)
        let editor = new wang('#wang_editor')
        editor.create()
    }
}
</script>

<style scoped>
    #wang_editor{
        width: 800px;
        margin: 0 auto;
        height: 500px;;
    }
</style>